﻿<UserControl x:Class="OrganizeYourSearch.TagCloud"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             xmlns:local="clr-namespace:OrganizeYourSearch"
             d:DesignHeight="600" d:DesignWidth="700">
    
    <Grid Loaded="Grid_Loaded">
        <TextBox Name="SearchBox"  Height="23" HorizontalAlignment="Right" Margin="0,19,26,0" VerticalAlignment="Top" Width="152" TextChanged="SearchBox_TextChanged" TextWrapping="Wrap" />
        <ListView Name="LstTags" Foreground="blue" Margin="22,48,26,276"  SelectionChanged="LstTags_SelectionChanged" >
            <ListView.View>
                <local:TileView>
                    
                </local:TileView>
            </ListView.View>
        </ListView>
        <TextBox IsReadOnly="True" HorizontalAlignment="Right" Margin="0,0,26,52" Name="tbDetails" Width="224" TextWrapping="Wrap" Height="218" VerticalAlignment="Bottom" />
        <ListView Margin="22,0,263.483,22" Name="LstTagInstances" FontFamily="Tekton Pro" FontSize="12" FontWeight="Bold"
                  DataContext="TagInstances" SelectionChanged="LstTagInstances_SelectionChanged" Height="248" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment">
            <ListView.View>
                <GridView>
                    <GridView.Columns>
                        <GridViewColumn Header=" Title" Width="180"
                            DisplayMemberBinding="{Binding Path=DocTitle}" />
                        <GridViewColumn Header=" Location    " Width="450"
                            DisplayMemberBinding="{Binding Path=Location}" />
                    </GridView.Columns>
                </GridView>
            </ListView.View>
        </ListView>
        <Button Content="Open" Margin="0,0,26,20" Name="btnDocOpen" IsEnabled="False" Height="23" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" Click="btnDocOpen_Click" />
        <TextBlock Height="23" Margin="0,19,192,0" TextWrapping="Wrap" Text="Search:" VerticalAlignment="Top" HorizontalAlignment="Right" Width="58" FontSize="18.667" FontFamily="Tekton Pro" FontWeight="Bold"/>
    </Grid>
</UserControl>
